//
//  CommonData.m
//  BProject
//
//  Created by 久远的回忆 on 15/8/11.
//  Copyright (c) 2015年 久远的回忆. All rights reserved.
//

#import "CommonData.h"

@implementation CommonData

+ (instancetype)defaultData
{
    static CommonData * data = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        data = [[CommonData alloc]init];
    });
    return data;
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _titleArray = @[@"首页", @"长文章", @"Top10", @"商业", @"智能", @"设计", @"时尚", @"娱乐", @"城市", @"游戏", @"Medium"];
        _classArray = @[@"HomeViewController", @"ArticleViewController", @"Top10ViewController", @"BusinessViewController", @"IntelligenceViewController", @"DesignViewController", @"FashionViewController", @"EntertainmentViewController", @"CityViewController", @"GameViewController", @"MediumViewController"];
    }
    return self;
}
@end
